package apresentacao.caminhoneiro;

import java.util.ArrayList;

import dao.caminhoneiro.AsyncTask_Buscar_Fretes;
import entidade.caminhoneiro.Frete;
import tcc.caminhoneiro.R;
import adapter.caminhoneiro.Adapter_Buscar_Fretes_Resultado;
import adapter.caminhoneiro.Adapter_Meus_Lances;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;

public class Fragment_Meus_Lances extends Fragment{
	
	ListView lvLances;
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.fragment_meus_lances, null);
		inicializar(view);
		return view;
	}

	private void inicializar(View view) {
		Adapter_Meus_Lances adapter = new Adapter_Meus_Lances(getActivity());
		lvLances = (ListView) view.findViewById(R.id.meus_lances_lvListView);
		lvLances.setAdapter(adapter);
	}
}
